package com.guit.hrms.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateOnboardingStatusDTO {
    @Valid
    @NotEmpty(message = "ids 不能为空")
    private List<Integer> ids;
    @NotNull(message = "tryoutStartTime 不能为空")
    @FutureOrPresent(message = "tryoutStartTime 不能早于当前时间")
    private LocalDate tryoutStartTime;
    @NotNull(message = "tryoutEndTime 不能为空")
    @FutureOrPresent(message = "tryoutEndTime 不能早于当前时间")
    private LocalDate tryoutEndTime;
    @NotBlank(message = "tryoutDuration 不能为空")
    private String tryoutDuration;
    @NotNull(message = "status 不能为空")
    private Integer status;
}
